<?php
include "func.main.php";
header31('', 'index');
?>
<style>div {border: 0px solid red;}</style>
<div id="content">
<span style="font-size: 23px;font-weight:bold;font-family:arial;">Последни новини от сайта</span>
<div style="width:723px;border: 0px solid red;padding: 2px;margin-bottom: 10px;">
<div class="newsInst" style="margin-bottom: 10px">
	<div style="float:left;">
		<div style="font-size: 30px;">27</div>
		<div style="margin-top: -5px;">Sep</div>
		<div style="margin-top: 0px;font-size: 13px;">11:30</div>
	</div>
	<div style="float:left;padding-left: 10px;">
		<div style="font-size: 30px;">We should make this title big</div>
		<div style="margin-top: -5px;width: 683px;">Osama Bin Laden died. Oh wait, that's not new.Nevermind, we'll just put more text here.And More... and more... and more... and more...</div>
	</div>
	<div style="clear:both;"></div>
</div>
<div class="newsInst">
	<div style="float:left;">
		<div style="font-size: 30px;">27</div>
		<div style="margin-top: -5px;">Sep</div>
		<div style="margin-top: 0px;font-size: 13px;">11:30</div>
	</div>
	<div style="float:left;padding-left: 10px;">
		<div style="font-size: 30px;">We should make this title big</div>
		<div style="margin-top: -5px;width: 683px;">Osama Bin Laden died. Oh wait, that's not new.Nevermind, we'll just put more text here.And More... and more... and more... and more...</div>
	</div>
	<div style="clear:both;"></div>
</div>
<div class="newsInst">
	<div style="float:left;">
		<div style="font-size: 30px;"><?php echo date("d"); ?></div>
		<div style="margin-top: -5px;"><?php echo date("M"); ?></div>
		<div style="margin-top: 0px;font-size: 13px;"><?php echo date("H:i"); ?></div>
	</div>
	<div style="float:left;padding-left: 10px;">
		<div style="font-size: 30px;">We should make this title big</div>
		<div style="margin-top: -5px;width: 683px;">Osama Bin Laden died. Oh wait, that's not new.Nevermind, we'll just put more text here.And More... and more... and more... and more...</div>
	</div>
	<div style="clear:both;"></div>
</div>




<div class="newsInst" style="width: 500px;border: 0px solid red;margin-bottom: 5px;">
	<div style="background: #777;font-size: 25px;padding-left: 3px;padding-right: 3px;border-radius: 4px;border-bottom-left-radius: 0;border-bottom-right-radius: 0;border: 1px solid #444;">
		<img src="i/article.png">&nbsp;<?php $string = "We should make this title as big as we can... and ever bigger than that"; $truncated = (strlen($string) > 40) ? substr($string, 0, 40) . '...' : $string; echo $truncated; ?>
	</div>
	<div style="background: #444;font-size: 12px;padding-left: 3px;padding-right: 3px;">
		<div style="float:left;">
			<img src="i/date.gif" width="16" height="13" />&nbsp;Saturday, 31 December 2011&nbsp;&nbsp;<img src="i/time.png" width="13" height="13" />&nbsp;13:37&nbsp;&nbsp;<img src="i/cat.png" width="13" height="13">&nbsp;Новини от света&nbsp;&nbsp;<img src="i/comms.png" width="13" height="13">&nbsp;0
		</div>
		<div style="float:right;">
			<!if user=admin><a href="edit"><img src="i/edit.png" width="13" height="13" /></a><!if user=admin end>
		</div>
		<div style="clear:both;"></div>
	</div>
	<div style="background: #666;border: 1px solid #444;border-radius: 4px;padding: 3px;border-top-left-radius: 0;border-top-right-radius: 0;">
		Osama Bin Laden died. Oh wait, that's not new.Nevermind, we'll just put more text here.And More... and more... and more... and more...
	</div>
</div>

<div class="newsInst" style="width: 500px;border: 0px solid red;margin-bottom: 5px;">
	<div style="background: #777;font-size: 25px;padding-left: 3px;padding-right: 3px;border-radius: 4px;border-bottom-left-radius: 0;border-bottom-right-radius: 0;border: 1px solid #444;">
		<img src="i/article.png">&nbsp;We should make this title big
	</div>
	<div style="background: #444;font-size: 12px;padding-left: 3px;padding-right: 3px;">
		<div style="float:left;">
			<img src="i/date.gif" width="16" height="13" />&nbsp;<?php echo date("l, d F Y"); ?>&nbsp;&nbsp;<img src="i/time.png" width="13" height="13" />&nbsp;<?php echo date("H:i"); ?>&nbsp;&nbsp;<img src="i/cat.png" width="13" height="13">&nbsp;Новини за сайта&nbsp;&nbsp;<img src="i/comms.png" width="13" height="13">&nbsp;99
		</div>
		<div style="float:right;">
			<!--<!if user=admin><a href="edit"><img src="i/edit.png" width="13" height="13" /></a><!if user=admin end>-->
		</div>
		<div style="clear:both;"></div>
	</div>
	<div style="background: #666;border: 1px solid #444;border-radius: 4px;padding: 3px;border-top-left-radius: 0;border-top-right-radius: 0;">
		Osama Bin Laden died. Oh wait, that's not new.Nevermind, we'll just put more text here.And More... and more... and more... and more...
	</div>
</div>


</div>
<span style="font-size: 23px;font-weight:bold;font-family:arial;">Някаква тъпа кутия ето тук</span>
<div style="width:400px;border: 0px solid red;padding: 2px;margin-bottom: 10px;/*background: #333;border: 1px solid #999;border-top: 0;margin-top: -1px;*/">
Next episode
</div>
<span style="font-size: 23px;font-weight:bold;font-family:arial;">Някаква тъпа кутия ето тук</span>
<div style="width:400px;border: 0px solid red;padding: 2px;margin-bottom: 10px;">
Next episode
</div>
</div>
<?php footer3(); ?>